package com.woniuxy.service;

import com.woniuxy.entity.Perm;
import com.woniuxy.entity.ResponseEntity;
import org.springframework.stereotype.Service;


public interface PermService {
    ResponseEntity addPerm(Perm perm);

    ResponseEntity deletPerm(int id);

    ResponseEntity update(Perm perm);

    ResponseEntity findAll();

    ResponseEntity findPerm(int roleid);

    ResponseEntity findPerm1(int roleid);
}

